package com.gxa.modules.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 作者 yuanqiufeng
 * Date 2022/11/15
 */
@ApiModel(value = "退款记录", description = "退款记录")
@Data
public class RefundHistoryDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    private Integer id;

    @ApiModelProperty("操作时间")
    private Date operationTime;

    @ApiModelProperty("订单号(退款金额、支付方式、卡内余额、退款状态、来源)")
    private String orderId;

    @ApiModelProperty("患者ID(患者姓名、就诊卡号)")
    private Integer patientId;




    @ApiModelProperty("退款金额")
    private Double refundAmount;

    @ApiModelProperty("卡内余额")
    private Double cardBalance;

    @ApiModelProperty("退款途径：0 微信，1 就诊卡")
    private Integer refundRoute;

    @ApiModelProperty("退款状态：0 已退款，1 未退款")
    private Integer refundStatus;

    @ApiModelProperty("退款时间")
    private Date refundTime;

    @ApiModelProperty("来源：0 微信小程序  ")
    private Integer source;

    @ApiModelProperty("业务类型")
    private Integer businessType;

    @ApiModelProperty("订单备注")
    private String orderNotes;




    @ApiModelProperty("患者的姓名")
    private String name;

    @ApiModelProperty("登录用户的id")
    private Integer userId;

    @ApiModelProperty("0:本人1：子女2：夫妻3：父母4：朋友")
    private Integer relationType;

    @ApiModelProperty("证件类型：0身份证，1护照，2港澳通行证")
    private Integer idcardType;

    @ApiModelProperty("证件号码")
    private String cardNum;

    @ApiModelProperty("就诊卡号（后台自动为就诊人生成卡号）")
    private String visitNum;

    @ApiModelProperty("就诊人电话号码")
    private String phone;

    @ApiModelProperty("患者的头像地址")
    private String image;

    @ApiModelProperty("微信昵称（登录用户的）")
    private String weixinNickname;

    @ApiModelProperty("就诊人地址")
    private String address;

    @ApiModelProperty("设为默认就诊人（0：默认，1：非默认）")
    private Integer status;


}
